Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. http post
    Log in to post

    • W

      Http Post and PHP GET
      WiPy 2&3 • lopy4 wipy 3.0 http post • • Wolli01  

      4
      0
      Votes
      4
      Posts
      530
      Views

      C

      Bist du weitergekommen? Ich suche vergebens nach einer Lösung die API von pushsafer anzusprechen. Leider kann der Betreiber von Pushsafer hier nicht unterstützen.. Grüße Clyde
    • A

      Post Size in http server
      LoPy • lopy lora python http post • • AHellLycan  

      1
      0
      Votes
      1
      Posts
      502
      Views

      No one has replied

    • J

      HTTP Post with urequests OSError: -1
      Comments & Feedback • oserror http post json urequest.py • • jimpower  

      8
      0
      Votes
      8
      Posts
      2472
      Views

      J

      @livius Thanks for your help, the gc.collect() has worked and the loop has remained stable for a few hours now.
    • D

      LoPy HTTP POST request: OSError!
      LoPy • lopy oserror ssl http post urequest.py • • Devang Sharma  

      11
      0
      Votes
      11
      Posts
      2963
      Views

      V

      Same problem happened to me. @ahmedkalnaggar solution solved, memory is not being freed properly.
    • B

      utimeq in uhttpd for simple webserver
      MicroPython • micropython server http post • • bnjroos  

      6
      0
      Votes
      6
      Posts
      2691
      Views

      K

      +1 utimeq enabled in sigfox would be awesome I'd like to use the latest version of picoweb on my LoPy but it has utimeq as a dependency. https://github.com/pfalcon/picoweb
    • R

      HTTP POST with json: Documentation
      Getting Started • http post • • robmarkcole  

      3
      0
      Votes
      3
      Posts
      1756
      Views

      bucknall

      Hi @robmarkcole this isn't in our docs as it isnt a core library, however it is commonly used so I'll draw up the documentation for it.
    • S

      Send data requests http post. **SOLVED**
      LoPy • http post post urequest.py request.py ubidots • • scg94  

      40
      1
      Votes
      40
      Posts
      22472
      Views

      W

      @wolli01 Hier mein Code import urequests userdata = {"p1": "Wohnzimmer", "p2": "24.12.2018", "p3": "23.97"} url = 'https://Homepage.de/live1.php' res = urequests.post(url, headers={"Content-Type": "application/json", "Accept": "application/json"}, data= str(userdata)) res.close() auf den PHP Server: <?php //Sensor1 $p1 = $_GET["p1"]; $p2 = $_GET["p2"]; $p3 = $_GET["p3"]; $inhalt = array($p1, $p2, $p3); // Speichern der Datei $eintrag = implode(";", $inhalt); file_put_contents("sensor1.txt", $eintrag); ?>
    • 1 / 1